package com.ydy.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ydy.mapper.base.BaseMapper;
import com.ydy.model.RequestLog;
import com.ydy.vo.RequestLogCountVo;

public interface RequestLogMapper extends BaseMapper<RequestLog> {
	List<RequestLogCountVo> selectCountByDay(@Param("startTime") Date startTime, @Param("endTime") Date endTime);

	List<RequestLogCountVo> selectIpCountByDay(@Param("startTime") Date startTime, @Param("endTime") Date endTime);

	List<RequestLogCountVo> selectCountByHour(@Param("year") Integer year, @Param("month") Integer month,
			@Param("day") Integer day);

}